package com.mytx.pojo;

import org.omg.CORBA.PRIVATE_MEMBER;

import java.util.Date;
import java.util.List;

public class LiveRoom {
    private String id;

    private String managerId;//管理员id  也就是群主

    private String anchorId;//主播ID

    private String rId;//当前直播间绑定的直播记录id

    private String aId;//直播间当前可以出价的广告位id

    private String title;

    private String subTitle;

    private String chatId;

    private String video;

    private String cover;

    private Integer audienceSize;

    private Integer status;

    private Integer type;

    private Date updated;

    private Date created;
//主播
    private User anchor;
    private LiveRecord liveRecord;
    private Advertisement advertisement;//直播间当前展示的广告位信息
    private Coupon coupon;//发到直播间的红包
    private List<String>memberIdList;

    public LiveRoom(String id, String managerId, String anchorId, String rId, String aId, String title, String subTitle, String chatId, String video, String cover, Integer audienceSize, Integer status, Integer type, Date updated, Date created) {
        this.id = id;
        this.managerId = managerId;
        this.anchorId = anchorId;
        this.rId = rId;
        this.aId = aId;
        this.title = title;
        this.subTitle = subTitle;
        this.chatId = chatId;
        this.video = video;
        this.cover = cover;
        this.audienceSize = audienceSize;
        this.status = status;
        this.type = type;
        this.updated = updated;
        this.created = created;
    }
    public LiveRoom() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getManagerId() {
        return managerId;
    }

    public void setManagerId(String managerId) {
        this.managerId = managerId;
    }

    public String getAnchorId() {
        return anchorId;
    }

    public void setAnchorId(String anchorId) {
        this.anchorId = anchorId == null ? null : anchorId.trim();
    }

    public String getrId() {
        return rId;
    }

    public void setrId(String rId) {
        this.rId = rId;
    }

    public String getaId() {
        return aId;
    }

    public void setaId(String aId) {
        this.aId = aId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle == null ? null : subTitle.trim();
    }

    public String getChatId() {
        return chatId;
    }

    public void setChatId(String chatId) {
        this.chatId = chatId == null ? null : chatId.trim();
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover == null ? null : cover.trim();
    }

    public Integer getAudienceSize() {
        return audienceSize;
    }

    public void setAudienceSize(Integer audienceSize) {
        this.audienceSize = audienceSize;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public User getAnchor() {
        return anchor;
    }

    public void setAnchor(User anchor) {
        this.anchor = anchor;
    }

    public LiveRecord getLiveRecord() {
        return liveRecord;
    }

    public void setLiveRecord(LiveRecord liveRecord) {
        this.liveRecord = liveRecord;
    }

    public Advertisement getAdvertisement() {
        return advertisement;
    }

    public void setAdvertisement(Advertisement advertisement) {
        this.advertisement = advertisement;
    }

    public List<String> getMemberIdList() {
        return memberIdList;
    }

    public void setMemberIdList(List<String> memberIdList) {
        this.memberIdList = memberIdList;
    }
}